<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div id="adminMode">
	<div id="FoodAdd">
		<h3>음식 추가</h3>
		<form id="FoodaddForm" name="FoodaddForm" action="admin.spring"
			method="post">
			<table id="FoodAddTable"
				style="border: 1px solid gray; width: 800px; height: 60px;">
				<tr style="height: 50px">
					<td>음식명 :</td>
					<td><input type="text" name="foodName"></td>
					<td style="width: 200px">섭취 목적 :</td>
					<td style="width: 200px"><select name="foodIngestPurpose">
							<option value="A">음식</option>
							<option value="B">영양식</option>
							<option value="C">간편식</option>
							<option value="D">다이어트식</option>
					</select></td>
				</tr>

				<tr style="height: 50px">
					<td>음식 종류 :</td>
					<td><select name="foodClass">
							<option value="한식">한식</option>
							<option value="중식">중식</option>
							<option value="양식">양식</option>
							<option value="일식">일식</option>
							<option value="간식">간식</option>
							<option value="기타">기타</option>
					</select></td>
					<td>음식 분류 :</td>
					<td><select name="foodClassfication">
							<option value="구이">구이</option>
							<option value="국,탕">국,탕</option>
							<option value="김치,젓갈">김치,젓갈</option>
							<option value="나물,샐러드">나물,샐러드</option>
							<option value="단일식품">단일식품</option>
							<option value="면,만두">면,만두</option>
							<option value="밥,떡">밥,떡</option>
							<option value="볶음">볶음</option>
							<option value="빵,과자">빵,과자</option>
							<option value="양념,소스">양념,소스</option>
							<option value="유제품,시럽">유제품,시럽</option>
							<option value="음료">음료</option>
							<option value="전,부침">전,부침</option>
							<option value="조림">조림</option>
							<option value="주류">주류</option>
							<option value="죽,스프">죽,스프</option>
							<option value="찌개,전골">찌개,전골</option>
							<option value="찜">찜</option>
							<option value="튀김">튀김</option>
							<option value="회">회</option>
					</select></td>
				</tr>
				<tr style="height: 50px">
					<td>탄수화물 :</td>
					<td><input type="text" name="foodCarbohydrate"></td>
					<td>지방 :</td>
					<td><input type="text" name="foodFat"></td>
				</tr>

				<tr style="height: 50px">
					<td>단백질 :</td>
					<td><input type="text" name="foodProtein"></td>
					<td></td>
					<td></td>
				</tr>
				<tr style="height: 50px">
					<td>나트륨 :</td>
					<td><input type="text" name="foodNatrium"></td>
					<td>식이섬유 :</td>
					<td><input type="text" name="foodCelluloseFiber"></td>
				</tr>
				<tr style="height: 50px">
					<td>콜레스테롤 :</td>
					<td><input type="text" name="foodCholesterol"></td>
					<td>칼로리(kcal) :</td>
					<td><input type="text" name="foodCalorie"></td>
				</tr>
				<tr style="height: 50px">
					<td>음식 설명 :</td>
					<td colspan="3"><textarea cols="77" rows="3"
							name="foodInformation"></textarea></td>
				</tr>
			</table>
			<div id="adminFoodAddBtn" style="margin: 10px 0px 10px 340px">
				<input type="button" onclick="javascript:adminFoodAdd();"
					value="추 가" style="padding: 5px 15px"> <input type="button"
					value="취 소" style="padding: 5px 15px">
			</div>
		</form>
	</div>
</div>